package com.sharp.authorization.holder;

/**
 * Title: SystemCodeHolder
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2021/8/25 16:37
 */
public class SystemCodeHolder {

    private static final ThreadLocal<String> SYSTEM_CODE_HOLDER = new ThreadLocal<>();

    private SystemCodeHolder() {
    }

    public static void set(String s) {
        SYSTEM_CODE_HOLDER.set(s);
    }

    public static String get() {
        return SYSTEM_CODE_HOLDER.get();
    }
}
